package com.qf.qfusermanager.service;

import com.qf.common.feigns.MenuApi;
import com.qf.common.model.QfMenu;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MenuService {

    @Autowired
    private MenuApi menuApi;

    /**
     * 查询所有menu信息
     * @return
     */
    public List<QfMenu> findAllMenu() {
        return menuApi.findAllMenu();
    }
}
